# Template file for 'notion'

pkgname="notion"
_minversion="2014052800"
version="3.${_minversion}"
revision=1
short_desc="Tabbed, tiling window manager"
hostmakedepends="pkg-config groff lua"
makedepends="lua-devel libXext-devel libSM-devel libXinerama-devel libXrandr-devel"
maintainer="Julian Wiesener <jw@vtoc.de>"
license="notion"
homepage="http://notion.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-3-${_minversion}-src.tar.bz2"
checksum="3619c90fb1f4b49cbddbfa8b94aa1d1e7e5a7e933764aea3ab3b25c6ef3c7027"
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
}
