config BR2_PACKAGE_PROSODY
	bool "prosody"
	depends on BR2_USE_MMU # fork
	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
	depends on !BR2_PACKAGE_LUA_5_3
	depends on !BR2_STATIC_LIBS # luaexpat, luasec, luasocket, luafilesystem
	select BR2_PACKAGE_LUABITOP if !BR2_PACKAGE_LUAJIT # runtime
	select BR2_PACKAGE_LUAEXPAT # runtime
	select BR2_PACKAGE_LUASEC # runtime
	select BR2_PACKAGE_LUASOCKET # runtime
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_LIBIDN
	select BR2_PACKAGE_LUAFILESYSTEM # runtime
	help
	  Prosody is a modern XMPP communication server. It aims to be
	  easy to set up and configure, and efficient with system
	  resources.

	  https://prosody.im

comment "prosody needs the lua interpreter, dynamic library"
	depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_STATIC_LIBS
	depends on BR2_USE_MMU

comment "prosody needs a Lua 5.1/5.2 interpreter"
	depends on BR2_PACKAGE_LUA_5_3
