# Template file for 'weechat'
pkgname=weechat
version=0.3.5
distfiles="http://www.weechat.org/files/src//$pkgname-$version.tar.bz2"
build_style=configure
configure_script="cmake"
configure_args="-DPREFIX=/usr ."
short_desc="Fast, light and extensible IRC client (curses UI)"
maintainer="Mike Rosset <mike.rosset@gmail.com>"
homepage="http://www.weechat.org/"
license="GPL-3"
checksum=c8f86ed75bd57a498702aba7f9c96a99fc1581c6a034bf9a7761d8d578b4e154
long_desc="
 WeeChat is:
  - modular: a lightweight core with plugins around
  - multi-protocols: IRC and Jabber (other soon)
  - extensible: C plugins and scripts (Perl, Python, Ruby, Lua and Tcl)
  - free software: released under GPLv3 license
  - fully documented: user's guide, API, FAQ,.. translated in many languages"

subpackages="$pkgname-aspell $pkgname-devel $pkgname-perl $pkgname-python"
subpackages="${subpackages} $pkgname-ruby $pkgname-tcl $pkgname-lua"

Add_dependency run glibc
Add_dependency run gnutls
Add_dependency run libgcrypt
Add_dependency run ncurses-libs

Add_dependency build cmake
Add_dependency build pkg-config
Add_dependency build gettext
Add_dependency build glibc-devel
Add_dependency build aspell-devel
Add_dependency build gnutls-devel
Add_dependency build libgcrypt-devel
Add_dependency build perl
Add_dependency build python-devel
Add_dependency build ruby-devel
Add_dependency build tcl-devel
Add_dependency build ncurses-devel
Add_dependency build lua-devel
