<human>: Can you condense the text into three sentences or less?

Hey r/dating_advice, 
I have a bit of a problem! First off I am a female (20) and the person in question is a male (22). He is a really good friend of mine and I have found myself head over heels for him. Now he dosen't live in the same country as me but he will be returning to where I live at some point in the future (within 18 months). We are pretty flirty with one another, we talk over skype once every 2 weeks or so and we text every day. I am fairly certain though that he does NOT have feelings for me at all. Although we were romantically involved before he left, we didn't know each other very well and only got to be good friends since he has been away. 

My problem is this; I am completely wasting my time pinning away for this guy who may not be interested in me at all. It is affecting my dating life as I don't feel like I can go out with anyone else and be honest with my feelings with them until I am over this guy. It just wouldn't be fair to anyone new. 
So Reddit, what are some ways I can resolve this situation? I would like to remain friends with this guy because above everything else he has been a good friend and I wouldn't want to just break off contact with him totally.
<bot>: Pinning after a friend who may or may not have romantic feelings for me (probably not) but would like to maintain friendship while moving on.