# Template file for 'notion'

pkgname="notion"
_minversion="2017050501"
version="3.${_minversion}"
revision=2
short_desc="Tabbed, tiling window manager"
hostmakedepends="pkg-config groff lua52"
makedepends="lua52-devel libXext-devel libSM-devel libXinerama-devel libXrandr-devel"
maintainer="Julian Wiesener <jw@vtoc.de>"
license="modified LGPL-2.1"
repository="nonfree"
homepage="http://notion.sourceforge.net/"
distfiles="https://github.com/raboof/notion/archive/3-${_minversion}.tar.gz"
checksum="a0649107602ef67804daffdf8ea4e3a63ee1b8de17f41001814f4a8182d95bbb"
wrksrc=${pkgname}-3-${_minversion}

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
	vlicense LICENSE
}
