config BR2_PACKAGE_GNUTLS
	bool "gnutls"
	select BR2_PACKAGE_LIBTASN1
	select BR2_PACKAGE_LIBUNISTRING
	select BR2_PACKAGE_NETTLE
	select BR2_PACKAGE_PCRE
	depends on BR2_USE_WCHAR
	help
	  GnuTLS is a secure communications library implementing the SSL
	  and TLS protocols and technologies around them.

	  http://www.gnutls.org

if BR2_PACKAGE_GNUTLS

config BR2_PACKAGE_GNUTLS_TOOLS
	bool "install tools"
	select BR2_PACKAGE_ARGP_STANDALONE \
		if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
	help
	  Install GnuTLS command line tools for various cryptographic tasks.

endif

comment "gnutls needs a toolchain w/ wchar"
	depends on !BR2_USE_WCHAR
