config BR2_PACKAGE_PISTACHE
	bool "pistache"
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17, std::optional
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_INSTALL_LIBSTDCPP
	select BR2_PACKAGE_RAPIDJSON
	help
	  Pistache is a modern and elegant HTTP and REST framework
	  for C++. It is entirely written in pure C++17 and provides
	  a clear and pleasant API.

	  https://github.com/oktal/pistache

comment "pistache needs a toolchain w/ C++, gcc >= 7, threads, wchar"
	depends on !BR2_INSTALL_LIBSTDCPP || \
		   !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
		   !BR2_TOOLCHAIN_HAS_THREADS || \
		   !BR2_USE_WCHAR
