config BR2_PACKAGE_RTORRENT
	bool "rtorrent"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	# ARC GCC doesn't support atomic instructions required by libtorrent
	depends on !BR2_arc
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBSIGC
	select BR2_PACKAGE_LIBTORRENT
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_OPENSSL
	help
	  BitTorrent Client using libtorrent

	  http://libtorrent.rakshasa.no/

comment "rtorrent needs a toolchain w/ C++, threads, wchar"
	depends on BR2_USE_MMU
	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
	depends on !BR2_arc
