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

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_REMOTE
	bool "transmission-remote"
	help
	  Install transmission remote management tool.

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

comment "transmission-gtk needs a toolchain w/ locale"
	depends on BR2_PACKAGE_LIBGTK2 && !BR2_ENABLE_LOCALE
endif

comment "transmission needs a toolchain w/ IPv6, threads"
	depends on BR2_USE_MMU
	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
