config BR2_PACKAGE_ENCHANT
	bool "enchant"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBGLIB2
	help
	  Enchant is a spell-checking library that provides a consistent
	  API across a number of spell-checking system backends.

	  https://abiword.github.io/enchant/

comment "enchant needs a toolchain w/ C++, threads, wchar"
	depends on BR2_USE_MMU
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS
