# Template file for 'i3'
pkgname=i3
version=4.1
homepage="http://i3wm.org/"
distfiles="${homepage}/downloads/${pkgname}-${version}.tar.bz2"
revision=2
depends="i3status"
makedepends="pkg-config yajl-devel libxcb-devel xcb-proto xcb-util libev-devel flex asciidoc xmlto docbook-xml libXcursor-devel libX11-devel pcre-devel startup-notification-devel"
short_desc="Improved tiling window manager."
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
checksum=3b4f21d9bf66f8e4588521dfa706d8cc3fe1999976a55fb5a6c13a621a1455a0
long_desc="
 i3 is a tiling window manager, completely written from scratch. The target
 platforms are GNU/Linux and BSD operating systems, our code is Free and Open
 Source Software (FOSS) under the BSD license. i3 is primarily targeted at
 advanced users and developers."

subpackages="${pkgname}-devel"

conf_files="/etc/i3/config"



do_build() {
	make ${makejobs}
	make ${makejobs} -C man
}

do_install() {
	make ${makejobs} DESTDIR=${DESTDIR} install
	vmkdir usr/share/man/man1
	cp ${wrksrc}/man/*.1 ${DESTDIR}/usr/share/man/man1
}
