# Template file for 'tmux'
pkgname=tmux
version=1.9a
revision=3
build_style=gnu-configure
makedepends="ncurses-devel libevent-devel"
short_desc="Terminal Multiplexer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://tmux.sourceforge.net"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/tmux/tmux-$version.tar.gz"
checksum=c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5

post_install() {
	vinstall examples/bash_completion_tmux.sh 644 usr/share/bash-completion/completions tmux
	vinstall examples/tmux.vim 644 usr/share/vim/vimfiles/syntax tmux.vim
	for f in examples/{*.conf,tmux_backup.sh,xterm-keys.vim}; do
		vsconf "$f"
	done
}
