config BR2_PACKAGE_BRLTTY
	bool "brltty"
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on !BR2_STATIC_LIBS
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime
	help
	  A daemon providing access to the Linux console for a blind
	  person using a refreshable braille display.

	  http://brltty.app/

if BR2_PACKAGE_BRLTTY

config BR2_PACKAGE_BRLTTY_TEXT_TABLE
	string "text-table"

endif

comment "brltty needs a toolchain w/ dynamic lib, threads, wchar"
	depends on BR2_USE_MMU
	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
