# Template file for 'i3status'
pkgname=i3status
version=2.3
homepage="http://i3wm.org/i3status"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
short_desc="Generates status bar to use with dzen2 or xmobar."
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
checksum=552dac4649f4e142c88ad3c42faace1fc372515c1b9dd979ebca58d36fa4bb1a
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."

conf_files="/etc/i3status.conf"

Add_dependency run libcap-progs

Add_dependency build asciidoc
Add_dependency build confuse-devel
Add_dependency build wireless_tools-devel
Add_dependency build alsa-lib-devel

do_build() {
	make ${makejobs}
}

do_install() {
	make ${makejobs} DESTDIR=${DESTDIR} install
	vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
