# $Id: PKGBUILD 156983 2012-04-23 09:10:35Z ibiru $
# Maintainer:  Ionut Biru <ibiru@archlinux.org>
# Contributor: Daniel Balieiro <daniel@balieiro.com>

pkgname=telepathy-salut
pkgver=0.8.0
pkgrel=1
pkgdesc="A link-local XMPP connection manager for Telepathy"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
depends=('telepathy-glib' 'avahi' 'libsoup' 'sqlite3')
makedepends=('libxslt' 'python2' 'xmldiff')
install=telepathy-salut.install
options=(!libtool)
source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('43639c23de33e8466540de02816d23bf')

build() {
    cd "$pkgname-$pkgver"
    ./configure --prefix=/usr \
    	--libexecdir=/usr/lib/telepathy \
        --disable-plugins --disable-Werror \
        --with-tls=openssl \
        --enable-avahi-tests=no \
        --enable-static=no
    make
}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}
