# Template file for 'notion'
pkgname=notion
version=4.0.2
revision=1
hostmakedepends="pkg-config gettext groff lua54"
makedepends="libSM-devel libXext-devel libXft-devel libXinerama-devel
 libXrandr-devel lua54-devel readline-devel"
short_desc="Tabbed, tiling window manager"
maintainer="Julian Wiesener <jw@vtoc.de>"
license="LGPL-2.1-or-later"
homepage="https://notionwm.net/"
distfiles="https://github.com/raboof/notion/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=dcefd620d028f6541c15879c3db218de081df7ce8d2e9cb4fc7ddd9b9253b698

do_build() {
	make CC=$CC PREFIX=/usr ETCDIR=/etc/notion
}

do_install() {
	make DESTDIR=${DESTDIR} PREFIX=/usr ETCDIR=/etc/notion install
	vman man/notion.1
	vman man/notionflux.1
}
