# Template file for 'i3' 
pkgname=i3
version=4.10.2
revision=2
build_pie=yes
build_style=gnu-makefile
hostmakedepends="pkg-config perl"
makedepends="pcre-devel yajl-devel libxcb-devel libev-devel
 pango-devel startup-notification-devel libxkbcommon-devel
 xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel"
conf_files="/etc/i3/config /etc/i3/config.keycodes"
short_desc="Improved tiling window manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://i3wm.org/"
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.bz2"
checksum=0795a31b47f93b637da7f7e65197568117f46a35c745f4de4f56e7b2efcccfd8

post_install() {
	vlicense LICENSE
	vmkdir usr/share/man/man1
	install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
}

i3-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
	}
}
