# Template file for 'mtm'
pkgname=mtm
version=1.1.0
revision=1
build_style=gnu-makefile
hostmakedepends="ncurses"
makedepends="ncurses-devel ncurses-libs"
short_desc="Micro Terminal Multiplexer"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/deadpixi/mtm"
distfiles="https://github.com/deadpixi/mtm/archive/${version}.tar.gz"
checksum=3f3e723466f3bb88afb7a49b66a790f3aaf6786654e8f1f056edc09fa99abd85

do_build() {
	make HEADERS='-DNCURSESW_INCLUDE_H="<ncurses.h>"'
}

do_install() {
	make install-terminfo
	vbin mtm
	vman mtm.1
}
