config BR2_PACKAGE_CLAMAV
	bool "clamav"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	depends on !BR2_STATIC_LIBS # dlopen
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBMSPACK
	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_ZLIB
	help
	  ClamAV is an open source antivirus engine for detecting
	  trojans, viruses, malware & other malicious threats.

	  http://www.clamav.net

comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar"
	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
	depends on BR2_USE_MMU
