 
   defp package do
     [
-     name: :pop3mail,
-     maintainers: ["Nico Hoogervorst"],
-     licenses: ["MIT"],
-     links: %{"GitHub" => "https://github.com/nico-amsterdam/pop3mail"}
+      name: :pop3mail,
+      maintainers: ["Nico Hoogervorst"],
+      licenses: ["MIT"],
+      links: %{"GitHub" => "https://github.com/nico-amsterdam/pop3mail"}
     ]
   end
 end

  #
  # Type "mix help deps" for more examples and options
  defp deps do
    [ {:erlpop, github: "nico-amsterdam/erlpop"},
      {:ex_doc,  "~> 0.14", only: :dev},
      {:credo,  "~> 0.5"  , only: :dev}
    ]
  end


  use Mix.Project

  def project do
    [
      app: :pop3mail,
      version: "1.3.0",
      elixir: "~> 1.3",

      # Hex
      package: package(),
      description: description(),

      # Docs
      docs: [
        source_ref: "master",
        main: "Pop3mail",
        canonical: "http://hexdocs.pm/pop3mail",
        source_url: "https://github.com/nico-amsterdam/pop3mail"
      ],
      build_embedded: Mix.env() == :prod,
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  # Configuration for the OTP application
