opam-version: "2.0"
maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"]
homepage: "https://github.com/ocaml-community/lambda-term"
bug-reports: "https://github.com/ocaml-community/lambda-term/issues"
dev-repo: "git://github.com/ocaml-community/lambda-term.git"
license: "BSD-3-Clause"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [["ocaml" "setup.ml" "-install"]]
remove: [["ocamlfind" "remove" "lambda-term"]]
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind"
  "lwt" {>= "2.4.0" & < "3.0.0"}
  "zed" {>= "1.2" & < "2.0"}
  "react" {>= "1.0.0"}
  "ocamlbuild" {build}
]
synopsis: "Terminal manipulation library for OCaml"
description: """
Lambda-term is a cross-platform library for manipulating the terminal.
It provides an abstraction for keys, mouse events, colors, as well as
a set of widgets to write curses-like applications.

The main objective of lambda-term is to provide a higher level
functional interface to terminal manipulation than, for example,
ncurses, by providing a native OCaml interface instead of bindings to
a C library.

Lambda-term integrates with zed to provide text edition facilities in
console applications."""
flags: light-uninstall
extra-files: ["lambda-term.install" "md5=309a7aef785fc38a36bdebdd0cc459b8"]
url {
  src: "https://github.com/ocaml-community/lambda-term/archive/1.9.tar.gz"
  checksum: "md5=17a9f8b56f9a10a7ed4cfa48ae6c3e39"
}
