[buildout]
extends =
  ../libevent/buildout.cfg
  ../ncurses/buildout.cfg

parts +=
  tmux

[tmux]
recipe = slapos.recipe.cmmi
url = https://github.com/tmux/tmux/releases/download/2.9a/tmux-2.9a.tar.gz
md5sum = f0564dbf4cf6b301c4845219d27ed3ad
shared = true
environment =
  CFLAGS=-I${ncurses:location}/include -I${libevent2:location}/include/
  LDFLAGS=-L${ncurses:location}/lib/ -L${libevent2:location}/lib/ -Wl,-rpath=${ncurses:location}/lib/ -Wl,-rpath=${libevent2:location}/lib/
configure-options =
  --prefix=@@LOCATION@@
