# Template file for 'i3status'
pkgname=i3status
version=2.8
revision=1
build_style=gnu-makefile
hostmakedepends="asciidoc pkg-config"
makedepends="yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel libcap-devel"
depends="libcap-progs"
conf_files="/etc/i3status.conf"
short_desc="Generates status bar to use with dzen2 or xmobar"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
homepage="http://i3.zekjur.net/i3status/"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=ab06c5dd454354e6fc64354082616115082b70dc3906361bce5a02beb0f807fe

post_install() {
	# detect dhcpcd.
	sed -i -e "s#dhclient#dhcpcd#g" ${DESTDIR}/etc/i3status.conf
	vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
