# Template file for 'toxic'
pkgname="toxic"
version="0.5.2"
revision=2
_commithash="0c39e7b158ff74a2ef4ed62a72b5b7a3c878ac7f"
short_desc="NCurses-based TOX instant messanger client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-3"
homepage="https://wiki.tox.im/Toxic"
depends="toxcore-git>=20150313_2"
makedepends="toxcore-devel-git libX11-devel freealut-devel libconfig-devel ncurses-devel libopenal-devel libnotify-devel libvpx-devel libsodium-devel opus-devel"
hostmakedepends="pkg-config"
build_style="gnu-makefile"
distfiles="https://github.com/Tox/toxic/archive/${_commithash}.tar.gz"
checksum="14990c674363004b7d2d4c14706f8a6232eb0b546e7b8f9889867761de548435"
make_install_args="-C build"
wrksrc="toxic-${_commithash}"

do_build() {
	make CC=$CC -C build ${makejobs}
}
