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

parts +=
  tmux

[tmux]
recipe = slapos.recipe.cmmi
url = https://github.com/tmux/tmux/releases/download/2.0/tmux-2.0.tar.gz
md5sum = 9fb6b443392c3978da5d599f1e814eaa
environment =
  CFLAGS=-I${ncurses:location}/include -I${libevent:location}/include/
  LDFLAGS=-L${ncurses:location}/lib/ -L${libevent:location}/lib/ -Wl,-rpath=${ncurses:location}/lib/ -Wl,-rpath=${libevent:location}/lib/
configure-options =
  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
