# Template file for 'foot'
pkgname=foot
version=1.6.0
revision=1
wrksrc=$pkgname
build_style=meson
configure_args="-Dwerror=false"
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="fcft-devel libxkbcommon-devel ncurses-devel tllist wayland-devel
 wayland-protocols"
depends="${pkgname}-terminfo>=${version}_${revision}"
short_desc="Fast, lightweight and minimalistic Wayland terminal emulator"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://codeberg.org/dnkl/foot"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=7ae523bf9882c0e5d56e2afdf6e25f5f77cffcc78ba1f316ffda3f36e2570b4a

post_install() {
	vlicense LICENSE
}

foot-terminfo_package() {
	short_desc+=" - terminfo data"
	pkg_install() {
		vmove usr/share/terminfo
	}
}
