# Template file for 'i3status'
pkgname=i3status
version=2.6
revision=1
build_style=gnu-makefile
depends="libcap-progs"
makedepends="asciidoc yajl-devel confuse-devel wireless_tools-devel alsa-lib-devel"
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://i3wm.org/i3status"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=e7e710cc271887bcd22757269e1b00a5618fb53abdb3455140116b3d38797bce
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."

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