Depression is often just a result of poor health in general. If you're low energy and don't feel good then you're going to be unhappy and unmotivated.
The Human Upgrade podcast is a great way to learn ways to turn it around, and actually end up feeling unbelievably good, motivated and capable.