--- /dev/null
+comment "beecrypt needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
+
+config BR2_PACKAGE_BEECRYPT
+ bool "beecrypt"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Beecrypt is a general-purpose cryptography library.
+
+ http://beecrypt.sf.net
+
+if BR2_PACKAGE_BEECRYPT
+
+config BR2_PACKAGE_BEECRYPT_CPP
+ bool "C++ support"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR # icu
+ depends on !BR2_BINFMT_FLAT # icu
+ depends on BR2_ARCH_HAS_ATOMICS # icu
+ select BR2_PACKAGE_ICU
+ help
+ Enable C++ support. This pulls in the (large) icu package.
+
+comment "C++ support needs a toolchain w/ wchar"
+ depends on !BR2_BINFMT_FLAT
+ depends on BR2_ARCH_HAS_ATOMICS
+ depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR
+
+endif # BR2_PACKAGE_BEECRYPT