# $Id$
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy carrier <geoffroy@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=bluez-hcidump
pkgver=2.0
pkgrel=1
pkgdesc="Bluetooth HCI package analyzer"
url="http://www.bluez.org/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc' 'bluez')
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz)
md5sums=('5c2e3ef0a68b2845047867ba51ff8ac9')

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

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