I feel for you, I really do I have been also battling depression for so many years. With the right meds and (grrr) talk therapy can work wonders. Though find the right med let alone the right dosage. Now I have Major Depressive Disorder, so I dont know exactly what is like for you. However, thing will likely improve with strong in home support. Really I mean it have been to the edge a few times, it never seems like its going to get any better and you just want the pain to end forever! But trust me if you put the work into it things will turn around. Its certainly not easy, nor is every day then you are "better". Really just hang in there I cant stress that enough!! ! When I was younger in back in my school days, I my mom had me take mental health days if really needed and she would give my school a vaild reason for not being there, so I would not get in trouble there.
Try to stay strong, you will be in my thoughts.
_________________
Once I was considered a rock star in the world of aspiring Mathematicians, now....