config FREETZ_LIB_libssh2
	bool "libssh2 (libssh2.so)"
	select FREETZ_LIB_libcrypto     if FREETZ_LIB_libssh2_WITH_SSL && FREETZ_LIB_libssh2_WITH_OPENSSL
	select FREETZ_LIB_libmbedcrypto if FREETZ_LIB_libssh2_WITH_SSL && FREETZ_LIB_libssh2_WITH_MBEDTLS
	select FREETZ_LIB_libz          if FREETZ_LIB_libssh2_WITH_ZLIB
	default n
	help
		libssh2 is a client-side C library implementing the SSH2 protocol.

config FREETZ_LIB_libssh2_WITH_SSL
	bool "build with SSL support" if FREETZ_LIB_libssh2
	default y                     if FREETZ_LIB_libssh2
	help
		This option enables SSL support in libssh2.

choice
	depends on FREETZ_LIB_libssh2_WITH_SSL
	prompt "SSL library"
	default FREETZ_LIB_libssh2_WITH_OPENSSL

	config FREETZ_LIB_libssh2_WITH_OPENSSL
		bool "OpenSSL"
		select FREETZ_OPENSSL_VERSION_PROMPT

	config FREETZ_LIB_libssh2_WITH_MBEDTLS
		bool "mbed TLS"
endchoice

config FREETZ_LIB_libssh2_WITH_ZLIB
	bool "build with zlib support" if FREETZ_LIB_libssh2
	default n
	help
		This option enables zlib support in libssh2.
