# Maintainer: Murtuza Akhtari <inxsible at gmail dot com>
# Contributor: Mildred <silkensedai@online.fr>

pkgname=libaosd
pkgver=0.2.7
pkgrel=1
pkgdesc="Atheme On Screen Display library"
arch=('i686' 'x86_64')
url="http://www.atheme.org/"
license=('MIT/X11')
depends=('libxcomposite' 'pango')
source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
md5sums=('1240768f0b2669092fd384efd97cb080')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}