helpp!!!

No judgement please! 
I have been married To my husband for two years now and have dated him for 4. I truly do love him and feel super thankful to have him. Well he has this one friend who I am extremely attracted too. It wasn't so bad until him and his girlfriend broke up and now it's horrible. I feel so bad for feeling this way towards him but he doesn't help the situation! My husband rarely ever shows me attention anymore. He never hugs, kisses, tells me he loves me, etc.... and yes I have had discussions with him about it but he never changes. The only time he shows me attention is if he wants sex. Any other moms had any expierences like this? If so what did you do to help? I have just tried distancing myself from him.