opam-version: "2.0"
maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"]
homepage: "https://github.com/ocaml-community/lambda-term"
license: "BSD-3-Clause"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [["ocamlfind" "remove" "lambda-term"]]
patches: ["openbsd.diff" {os = "openbsd"}]
depends: [
  "ocaml" {>= "3.12"}
  "ocamlfind"
  "lwt" {>= "2.4.0" & < "3.0.0"}
  "zed" {>= "1.2" & < "2.0"}
  "react" {< "1.0.0"}
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/ocaml-community/lambda-term"
install: ["ocaml" "setup.ml" "-install"]
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: [
  ["openbsd.diff" "md5=90257eb7b8b41cb4ad237cdf188904aa"]
  ["lambda-term.install" "md5=309a7aef785fc38a36bdebdd0cc459b8"]
]
url {
  src: "https://github.com/ocaml-community/lambda-term/archive/1.5.tar.gz"
  checksum: "md5=e826f13b787567b43720f3acbe21658c"
}
