# Template file for 'i3'
pkgname=i3
version=4.8
revision=1
build_style=gnu-makefile
hostmakedepends="which pkg-config"
makedepends="pcre-devel>=8.30 yajl-devel libxcb-devel libev-devel
 pango-devel startup-notification-devel>=0.12_3 xcb-util-devel>=0.3.9
 xcb-util-keysyms-devel>=0.3.9 xcb-util-wm-devel>=0.3.9 xcb-util-cursor-devel"
conf_files="/etc/i3/config /etc/i3/config.keycodes"
short_desc="Improved tiling window manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://i3wm.org/"
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.bz2"
checksum=502c34290f239780bb40352191f0500e8f35d2446eddb573c67c27873d6a1b6b

post_install() {
	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
	}
}
