config BR2_PACKAGE_NCMPC
	bool "ncmpc"
	depends on BR2_USE_MMU # fork()
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR # libglib2 -> gettext
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_LIBMPDCLIENT
	select BR2_PACKAGE_NCURSES
	help
	  ncmpc is a fully featured MPD client, which runs in a terminal
	  (using ncurses). Its goal is to provide a keyboard oriented
	  and consistent interface to MPD, without wasting resources.

	  http://www.musicpd.org/clients/ncmpc/

comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
	depends on BR2_USE_MMU
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9