config BR2_PACKAGE_TRANSMISSION
	bool "transmission"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_ZLIB
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBEVENT
	help
	  Transmission is a cross-platform BitTorrent client.

	  http://www.transmissionbt.com/

if BR2_PACKAGE_TRANSMISSION

config BR2_PACKAGE_TRANSMISSION_UTP
	bool "Transmission uTP support"
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  Install support for uTorrent Transport Protocol

comment "uTP needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP

config BR2_PACKAGE_TRANSMISSION_CLI
	bool "transmission-cli"
	help
	  Install transmission command line interface.

config BR2_PACKAGE_TRANSMISSION_DAEMON
	bool "transmission-daemon"
	help
	  Install transmission daemon.

config BR2_PACKAGE_TRANSMISSION_GTK
	bool "transmission-gtk"
	depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
	help
	  Install transmission GTK-based GUI interface.

comment "transmission-gtk needs NLS enabled"
	depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS
endif

comment "transmission needs a toolchain w/ threads"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS
