config BR2_PACKAGE_FOOT
	bool "foot"
	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # fcft
	depends on !BR2_STATIC_LIBS # wayland
	select BR2_PACKAGE_FCFT
	select BR2_PACKAGE_FONTCONFIG
	select BR2_PACKAGE_FREETYPE
	select BR2_PACKAGE_LIBXKBCOMMON
	select BR2_PACKAGE_PIXMAN
	select BR2_PACKAGE_TLLIST
	select BR2_PACKAGE_WAYLAND
	select BR2_PACKAGE_WAYLAND_PROTOCOLS
	help
	  A fast, lightweight and minimalistic Wayland terminal
	  emulator.
	  NOTE: foot needs a working UTF-8 locale (BR2_GENERATE_LOCALE)

	  https://codeberg.org/dnkl/foot

if BR2_PACKAGE_FOOT

config BR2_PACKAGE_FOOT_GRAPHEME_CLUSTERING
	bool "grapheme-clustering"
	select BR2_PACKAGE_UTF8PROC
	help
	  Enables grapheme clustering.

config BR2_PACKAGE_FOOT_THEMES
	bool "themes"
	help
	  Install themes (predefined color schemes)

endif # BR2_PACKAGE_FOOT

comment "foot needs a glibc or musl toolchain w/ dynamic library"
	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
		BR2_STATIC_LIBS
