opam-version: "2.0"
license:      "MIT"
authors:      [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
maintainer:   [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
homepage:     "https://github.com/mirage/colombe"
bug-reports:  "https://github.com/mirage/colombe/issues"
dev-repo:     "git+https://github.com/mirage/colombe.git"
synopsis:     "Received field according RFC5321"
doc:          "https://mirage.github.io/colombe/"
description: """A little library to parse or emit a Received field according
RFC5321. It is able to notify which SMTP server serves the email (and track, by this way,
on which way - TLS or not - the email was transmitted)."""

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

depends: [
  "ocaml"    {>= "4.03.0"}
  "dune"     {>= "1.8.0"}
  "colombe"  {= version}
  "mrmime"   {>= "0.2.0"}
  "emile"    {>= "0.8"}
  "angstrom" {>= "0.14.0"}
]
x-commit-hash: "83782537d0c0ca860c1062d7a5d601ac30e00d5f"
url {
  src:
    "https://github.com/mirage/colombe/releases/download/v0.4.0/colombe-v0.4.0.tbz"
  checksum: [
    "sha256=d80258b2c6fdd43ed082818f130168cd907826aa17ffcc85e636049afc88ad85"
    "sha512=d777785f2f33cb628482b679ae7a06939dd3ad7daee00e18129578964b0a1c8fc116eaf2926a0a841cc02f91698c8feaa3e7854143a57774d058f3445d5a2d73"
  ]
}
