opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
homepage: "http://erratique.ch/software/webbrowser"
doc: "http://erratique.ch/software/webbrowser/doc"
license: "ISC"
dev-repo: "git+http://erratique.ch/repos/webbrowser.git"
bug-reports: "https://github.com/dbuenzli/webbrowser/issues"
tags: [ "web" "http" "uri" "browser" "cli" "org:erratique"]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "rresult"
  "astring"
  "bos"
]
depopts: [
   "cmdliner"
]
build: [
  "ocaml" "pkg/pkg.ml" "build"
          "--pinned" "%{pinned}%"
          "--with-cmdliner" "%{cmdliner:installed}%"
 ]
synopsis: "Open and reload URIs in browsers from OCaml"
description: """
Webbrowser is a library to open and reload URIs in web browsers from
OCaml.

Webbrowser depends on [bos][bos]. The optional command line support
provided by the Webbrowser_cli library depends on [cmdliner][cmdliner].

Webbrowser is distributed under the ISC license. 

[bos]: http://erratique.ch/software/bos
[cmdliner]: http://erratique.ch/software/cmdliner"""
url {
  src:
    "http://erratique.ch/software/webbrowser/releases/webbrowser-0.6.1.tbz"
  checksum: "md5=1f6cefc449515921a5890df8fce5eab3"
}
