[source]
git = "https://github.com/visit1985/mdp.git"

[build]
template = "custom"
dependencies = [
    "ncursesw",
    "terminfo"
]
script = """
rsync -av --delete --exclude='.git' "${COOKBOOK_SOURCE}/" ./

export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/ncursesw"

"${COOKBOOK_MAKE}" -j"${COOKBOOK_MAKE_JOBS}"

# Install
"${COOKBOOK_MAKE}" DESTDIR="${COOKBOOK_STAGE}" PREFIX="" install
"""