opam-version: "2.0"
maintainer: "Richard Mortier <mort@cantab.net>"
authors: [ "Richard Mortier" ]
license: "ISC"

homepage: "https://github.com/mor1/ocal"
dev-repo: "git+https://github.com/mor1/ocal.git"
bug-reports: "https://github.com/mor1/ocal/issues"
doc: "https://mor1.github.io/ocal/"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "astring"   {build}
  "calendar"  {build}
  "cmdliner"  {build}
  "dune"
  "notty"     {build & >="0.2.0"}
  "ocaml"     {>="4.02.3"}
]

synopsis: "An improved Unix `cal` utility"

description: """
`ocal` is a replacement for the standard Unix `cal` utility.
Partly because I could, partly because I'd become too irritated with its command
line interface.
"""
url {
  src: "https://github.com/mor1/ocal/releases/download/0.2.2/ocal-0.2.2.tbz"
  checksum: "md5=99820b7154717687a6881e559c60cb55"
}
