# Template file for 'quassel'

pkgname=quasselcore
version=0.12.2
revision=1
build_style=cmake
short_desc="The remote daemon for the quassel client"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="GPL-3"
homepage="http://www.quassel-irc.org"
wrksrc="quassel-${version}"
distfiles="http://quassel-irc.org/pub/quassel-${version}.tar.bz2"
system_accounts="${pkgname}"
checksum="6bd6f79ecb88fb857bea7e89c767a3bd0f413ff01bae9298dd2e563478947897"
hostmakedepends="cmake pkg-config"
makedepends="zlib-devel qt-devel phonon-devel qca-devel"
depends="desktop-file-utils qt-plugin-sqlite"
configure_args="-DEMBED_DATA=1 -DWANT_QTCLIENT=OFF -DWANT_MONO=OFF -DWANT_CORE=ON -DWITH_OPENSSL=ON -DWITH_DBUS=OFF -DWITH_PHONON=OFF -DWITH_WEBKIT=OFF"
make_dirs="/var/log/quassel 0750 quasselcore quasselcore"
make_dirs+=" /var/lib/quassel 0750 quasselcore quasselcore"

post_install() {
	vsv quasselcore
}
