config BR2_PACKAGE_NCMPC
	bool "ncmpc"
	depends on BR2_USE_MMU # fork()
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
	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 >= 10"
	depends on BR2_USE_MMU
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_10
