# Template file for 'conky-cli'
pkgname=conky-cli
version=1.9.0
revision=3
wrksrc="${pkgname/-cli/}-${version}"
build_style=gnu-configure
configure_args="--enable-lua --disable-x11 --disable-xft --disable-imlib2 
 --disable-own-window --disable-xdamage --disable-double-buffer --enable-curl
 --enable-wlan --enable-rss --enable-ibm"
hostmakedepends="libtool pkg-config"
makedepends="lua-devel ncurses-devel wireless_tools-devel libglib-devel libcurl-devel libxml2-devel"
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
provides="conky-${version}_${revision}"
conflicts="conky>=0"
short_desc="Conky command line without X11"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD, GPL"
homepage="http://conky.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname/-cli/}/${pkgname/-cli/}-${version}.tar.gz"
checksum=1de754d77b2671f68795fdb9fc506328a1668dd6ca00984c3f49790a66d368ca

pre_configure() {
	libtoolize -f
}

post_install() {
	vinstall COPYING 644 usr/share/licenses/$_pkgname
}
