config BR2_PACKAGE_ACSCCID
	bool "acsccid"
	depends on BR2_TOOLCHAIN_HAS_THREADS # pcsc-lite, libusb
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
	depends on BR2_USE_MMU # pcsc-lite
	depends on !BR2_STATIC_LIBS # pcsc-lite
	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
	select BR2_PACKAGE_PCSC_LITE
	# Even though there is a --disable-libusb option, it has in
	# fact no effect, and acsccid really requires libusb.
	select BR2_PACKAGE_LIBUSB
	help
	  acsccid is a PC/SC driver for Linux/Mac OS X and it supports
	  ACS CCID smart card readers.

	  http://acsccid.sourceforge.net/

comment "acsccid needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
