config BR2_PACKAGE_LIBMPD
	bool "libmpd"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
	help
	  High-level client library for accessing Music Player Daemon.
	  LibMpd is a library that provides high-level, callback-based
	  access to Music Player Daemon (mpd).

	  http://gmpcwiki.sarine.nl/index.php?title=Libmpd

comment "libmpd needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
